package com.modai.entity;

import lombok.*;

/**
 * @author ：modai
 * @date ：Created in 2021-6-5 18:24
 * @description：角色类
 */

@AllArgsConstructor
@NoArgsConstructor
@Getter
@ToString
public enum Role {
    /**
     * admin
     */
    admin(1, "admin"),
    /**
     * developer
     */
    developer(2, "developer"),
    /**
     * test
     */
    test(3, "test");

    private Integer id;
    private String name;


}
